<?php
	// we meed to check for the correct flash.. we will do this automatically..
	// and also allow for an override.
	$flashPath = "/cms/images/header";
	if (defined("CMS_SITE_FOOTER_INCLUDE") && 0 < strlen(CMS_SITE_FOOTER_INCLUDE)) {
		//$flashPath =CMS_FLASH_HEADER_PATH;
		include(CMS_SITE_FOOTER_INCLUDE);
	} else {
		//attempt to guess
		if (file_exists( CMS_SITE_HOME . "/site/html/cmsFooter.php")){
			include(CMS_SITE_HOME . "/site/html/cmsFooter.php");
		} else {
			

?>
	<div id="cms_footer_copyright">&copy; 2006 - <?= date("Y"); ?> Gravitate Ltd.</div>
	<div id="cms_footer_email"><a href="mailto:info@gravitate.co.nz">info@gravitate.co.nz</a></div>
<?php
		}
	}

?>